import Vue from "vue";
import App from "./App";
import util from "@/common/util";
import api from "@/common/api";

Vue.config.productionTip = false;
Vue.prototype.$util = util;
Vue.prototype.$api = api;
// 注册全局组件
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue";
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue";
Vue.component("mescroll-body", MescrollBody);
Vue.component("mescroll-uni", MescrollUni);

App.mpType = "app";
const app = new Vue({
  ...App,
});
app.$mount();
